using System;
using System.CodeDom.Compiler;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
namespace Microsoft.Phone.Controls.Maps.PlatformServices
{
	[GeneratedCode("System.Runtime.Serialization", "4.0.0.0"), DebuggerStepThrough, DataContract(Name = "ImageryMetadataResult", Namespace = "http://dev.virtualearth.net/webservices/v1/imagery"), KnownType(typeof(ImageryMetadataBirdseyeResult))]
	internal class ImageryMetadataResult : INotifyPropertyChanged
	{
		private SizeOfint ImageSizeField;
		private string ImageUriField;
		private Collection<string> ImageUriSubdomainsField;
		private Collection<ImageryProvider> ImageryProvidersField;
		private RangeOfdateTime VintageField;
		private RangeOfint ZoomRangeField;
		public event PropertyChangedEventHandler PropertyChanged
		{
			[MethodImpl(32)]
			add
			{
				this.PropertyChanged = (PropertyChangedEventHandler)Delegate.Combine(this.PropertyChanged, value);
			}
			[MethodImpl(32)]
			remove
			{
				this.PropertyChanged = (PropertyChangedEventHandler)Delegate.Remove(this.PropertyChanged, value);
			}
		}
		[DataMember]
		internal SizeOfint ImageSize
		{
			get
			{
				return this.ImageSizeField;
			}
			set
			{
				if (!object.ReferenceEquals(this.ImageSizeField, value))
				{
					this.ImageSizeField = value;
					this.RaisePropertyChanged("ImageSize");
				}
			}
		}
		[DataMember]
		internal string ImageUri
		{
			get
			{
				return this.ImageUriField;
			}
			set
			{
				if (!object.ReferenceEquals(this.ImageUriField, value))
				{
					this.ImageUriField = value;
					this.RaisePropertyChanged("ImageUri");
				}
			}
		}
		[DataMember]
		internal Collection<string> ImageUriSubdomains
		{
			get
			{
				return this.ImageUriSubdomainsField;
			}
			set
			{
				if (!object.ReferenceEquals(this.ImageUriSubdomainsField, value))
				{
					this.ImageUriSubdomainsField = value;
					this.RaisePropertyChanged("ImageUriSubdomains");
				}
			}
		}
		[DataMember]
		internal Collection<ImageryProvider> ImageryProviders
		{
			get
			{
				return this.ImageryProvidersField;
			}
			set
			{
				if (!object.ReferenceEquals(this.ImageryProvidersField, value))
				{
					this.ImageryProvidersField = value;
					this.RaisePropertyChanged("ImageryProviders");
				}
			}
		}
		[DataMember]
		internal RangeOfdateTime Vintage
		{
			get
			{
				return this.VintageField;
			}
			set
			{
				if (!object.ReferenceEquals(this.VintageField, value))
				{
					this.VintageField = value;
					this.RaisePropertyChanged("Vintage");
				}
			}
		}
		[DataMember]
		internal RangeOfint ZoomRange
		{
			get
			{
				return this.ZoomRangeField;
			}
			set
			{
				if (!object.ReferenceEquals(this.ZoomRangeField, value))
				{
					this.ZoomRangeField = value;
					this.RaisePropertyChanged("ZoomRange");
				}
			}
		}
		protected void RaisePropertyChanged(string propertyName)
		{
			PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
			if (propertyChanged != null)
			{
				propertyChanged.Invoke(this, new PropertyChangedEventArgs(propertyName));
			}
		}
	}
}
